<style>
    .a-box-name{

    }
</style>
<div class="panel panel-default panel-intro">

    <div class="panel-body">

        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">

                <div class="row">
                    <div class="col-sm-6 col-xs-3">
                        <div class="sm-st clearfix">
                            <div class="sm-st-info">
                                <p style="font-size: 18px;">统计数据</p>
                                <p>总共<span style="font-size: 44px;padding-left:10px;padding-right:10px;">{$total1}</span>张工单 , 共填写<span style="font-size: 44px;padding-left:10px;padding-right:10px;">{$total2}</span>份</p>

                                <a href='javascript:void()'
                                    class='btn-refresh'>刷新数据</a>

                            </div>
                        </div>
                    </div>

                </div>

                <div class="row">
                    <div class="col-lg-12">
                        <div id="echart"  style="height:300px;width:100%;"></div>
                    </div>
                </div>




                <div class="row" style="margin-top:15px;">
                    <div class="col-lg-12">
                    </div>


                    <div class="col-md-3">
                        <div class="panel bg-red-gradient">
                            <div class="panel-body">
                                <div class="ibox-title">
                                    <h3>今日数据</h3>
                                </div>
                                <div class="ibox-content">
                                    <div class="row">
                                        <div class="col-md-6">
                                            <h1 class="no-margins">{$box1a} 份</h1>
                                            <div class="font-bold"><i class="fa fa-commenting"></i>
                                                <small>完成填写数</small>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <h1 class="no-margins">{$box1b} 份</h1>
                                            <div class="font-bold"><i class="fa fa-user"></i>
                                                <small>总填写数<BR>（含未填完）</small>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-3">
                        <div class="panel bg-green-gradient">
                            <div class="panel-body">
                                <div class="ibox-title">
                                    <h3>最近7天统计</h3>
                                </div>
                                <div class="ibox-content">
                                    <div class="row">
                                        <div class="col-md-6">
                                            <h1 class="no-margins">{$box2a} 份</h1>
                                            <div class="font-bold"><i class="fa fa-commenting"></i>
                                                <small>完成填写数</small>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <h1 class="no-margins">{$box2b} 份</h1>
                                            <div class="font-bold"><i class="fa fa-user"></i>
                                                <small>总填写数<BR>（含未填完）</small>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>


                    <div class="col-md-3">
                        <div class="panel bg-aqua-gradient">
                            <div class="panel-body">
                                <div class="ibox-title">
                                    <h3>最近30天统计</h3>
                                </div>
                                <div class="ibox-content">
                                    <div class="col-md-6">
                                        <h1 class="no-margins">{$box3a} 份</h1>
                                        <div class="font-bold"><i class="fa fa-commenting"></i>
                                            <small>完成填写数</small>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <h1 class="no-margins">{$box3b} 份</h1>
                                        <div class="font-bold"><i class="fa fa-user"></i>
                                            <small>总填写数<BR>（含未填完）</small>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-3">
                        <div class="panel bg-purple-gradient">
                            <div class="panel-body">
                                <div class="ibox-title">
                                    <h3>工单情况</h3>
                                </div>
                                <div class="ibox-content">
                                    <div class="row">
                                        <div class="col-md-6">
                                            <h1 class="no-margins">{$box4a} 份</h1>
                                            <div class="font-bold"><i class="fa fa-commenting"></i>
                                                <small>进行中</small>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <h1 class="no-margins">{$box4b} 份</h1>
                                            <div class="font-bold"><i class="fa fa-user"></i>
                                                <small>即将进行<BR>&nbsp;</small>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-3">
                    <div class="box box-danger">
                        <div class="box-header with-border">
                            <h3 class="box-title">工单清单(完成填写数)</h3>

                            <div class="box-tools pull-right">
                            </div>
                        </div>
                        <div class="box-body">
                            <ul class="nav nav-pills nav-stacked">
                                {volist name="box1list" id="vo"}
                                <li><a href="javascript:void">{$vo.name}
                                    <span class="pull-right text-red"><i class="fa "></i> {$vo.val} 份</span></a>
                                </li>
                                {/volist}
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="box box-success">
                        <div class="box-header with-border">
                            <h3 class="box-title">工单清单(完成填写数)</h3>

                            <div class="box-tools pull-right">
                            </div>
                        </div>
                        <div class="box-body">
                            <ul class="nav nav-pills nav-stacked">
                                {volist name="box2list" id="vo"}
                                <li><a href="javascript:void">{$vo.name}
                                    <span class="pull-right text-red"><i class="fa "></i> {$vo.val} 份</span></a>
                                </li>
                                {/volist}
                            </ul>
                        </div>
                    </div>
                </div>

                <div class="col-md-3">
                    <div class="box box-success">
                        <div class="box-header with-border">
                            <h3 class="box-title">工单清单(完成填写数)</h3>

                            <div class="box-tools pull-right">
                            </div>
                        </div>
                        <div class="box-body">
                            <ul class="nav nav-pills nav-stacked">
                                {volist name="box3list" id="vo"}
                                <li><a href="javascript:void">{$vo.name}
                                    <span class="pull-right text-red"><i class="fa "></i> {$vo.val} 份</span></a>
                                </li>
                                {/volist}
                            </ul>
                        </div>
                    </div>
                </div>

                <div class="col-md-3">
                    <div class="box box-info">
                        <div class="box-header with-border">
                            <h3 class="box-title">最近创建工单（前10份）</h3>
                            <div class="box-tools pull-right">
                            </div>
                        </div>
                        <div class="box-body">
                            <ul class="nav nav-pills nav-stacked">
                                {volist name="box4list" id="vo"}
                                <li><a href="javascript:void"><i class="fa fa-user-circle"></i>{$vo.name}
                                    {if $vo.cfghasdatelimit=='Y'}
                                    <span class="pull-right text-red">{:date('Y-m-d',$vo.val)} 截止</span></a>
                                    {else}
                                    <span class="pull-right text-red">永久生效</span></a>
                                    {/if}
                                </li>
                                {/volist}
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
